import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../RouteConfig/Route.dart';


class ATest13Page extends StatelessWidget {
  ATest13Page({super.key});
  var _routes = [];
  @override
  Widget build(BuildContext context) {
    _routes = Routes.where((route) {
     return  route.name.startsWith('/ATest13Page/');
    }).toList();
    return Scaffold(
      appBar: AppBar(
        title: const Text('测试13'),
      ),
      body:
          ListView(children: _routes.map((route) => ElevatedButton(child: Text(route.name.toString().split('/').last),onPressed: (){
            Get.toNamed(route.name);
          })).toList()),
    );
  }
}
